package com.frame.service.common;

import com.frame.model.user.req.ReqRefreshTokenVo;
import com.frame.model.user.res.ResRefreshTokenVo;

/**
 * @author Flying
 * @Description
 * @date 13:29 2018-08-24
 **/
public interface UserCommonService {

    /**
     * 刷新token
     * @param reqRefreshTokenVo
     * @return
     */
    ResRefreshTokenVo refreshToken(ReqRefreshTokenVo reqRefreshTokenVo);

    /**
     * 生成token
     * @param userId
     * @return
     */
    ResRefreshTokenVo createToken(String userId);


}
